package com.wisdytech.ccdserver;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 *
 * 事务支持-EnableTransactionManagement
 * @author svolt
 */
@SpringBootApplication(scanBasePackages={"com.wisdytech"},exclude = {DruidDataSourceAutoConfigure.class})
@EnableTransactionManagement
@MapperScan("com.wisdytech.**.dao**")
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableFeignClients(basePackages = "com.wisdytech.*")
@EnableDubbo
public class CcdServerApplication {



	public static void main(String[] args) {
		SpringApplication.run(CcdServerApplication.class, args);
	}

}
